package com.lxw.framework.exception;

import com.lxw.framework.model.response.ResultCode;

public class CustomException extends RuntimeException{

    private ResultCode resultCode;

    public CustomException(ResultCode resultCode){
        super();
        this.resultCode = resultCode;
    }
    public ResultCode getResultCode(){
        return  this.resultCode;
    }

}
